﻿<Window x:Class="NUnitResultsExplorer.WarningsWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Errors/Warnings" Height="300" Width="400" WindowStartupLocation="CenterOwner">
    <DockPanel>
        <TextBlock Margin="4" DockPanel.Dock="Top">The following errors/warnings occured whilst reading the file(s):</TextBlock>
        <Button Margin="4" HorizontalAlignment="Right" DockPanel.Dock="Bottom" Command="Close" Content="_Close" />
        <ListBox Margin="4" ItemsSource="{Binding}">
            <ListBox.ItemContainerStyle>
                <Style TargetType="ListBoxItem">
                    <Setter Property="Margin" Value="2" />
                    <Setter Property="VerticalContentAlignment" Value="Center" />
                </Style>
            </ListBox.ItemContainerStyle>
        </ListBox>
    </DockPanel>
</Window>
